//
//  YAYIEditNameViewController.h
//  yayi
//
//  Created by Veer on 16/3/18.
//  Copyright © 2016年 hxp. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YAYISettingViewController.h"



@protocol YAYIModifyAccountViewControllerDelegate <NSObject>

@optional
- (void)editNameDidChanged:(NSString *)name indexPath:(NSIndexPath *)indexPath;

@end

@interface YAYIModifyAccountViewController : YAYISettingViewController

// 由上一个界面传值
@property (nonatomic, strong) NSIndexPath *indexPath;


@property (nonatomic, weak) id<YAYIModifyAccountViewControllerDelegate> delegate;

@end
